﻿#include "Solution.h"
#include "fmt/core.h"
using namespace std;

int main() {
	FooBar fb(5);
	thread t1([&]() {fb.foo([]() {cout << "foo"; }); });
	thread t2([&]() {fb.bar([]() {cout << "bar"; }); });

	t1.join();
	t2.join();
	return 0;

}